<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>参数reset和spread</title>
	</head>
	<body>
		<ul>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
		</ul>
		<script type="text/javascript">
			let Oli = document.getElementsByTagName("li");
			//let arrli = Array.from(Oli)
			//console.log(arrli)
			// let arrli = [...Oli]
			// console.log(arrli);
			let arr = [1,2,3,4,5];
			let arr2 = [...arr];
			console.log(arr2);
			
		</script>
	</body>
</html>
